<?php
namespace App\Http\Controllers\Admin;

use App\Models\PayLog;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/5/6
 * Time: 11:37
 */
Class PaylogController extends BaseController{

    public function __construct(PayLog $payLog)
    {
        parent::__construct();
        $this->paylog = $payLog;
    }

    /**
     *  交易记录
     */
    public function getIndex(){
          $res = $this->paylog->getLogList(request());
          return view("admin.paylog.list",compact('res'));
    }
}